#ifndef __LAB2_H_
#define __LAB2_H_

//constant 

enum {
	STATE_READY = 0,
	STATE_TX_PENDING = 1,
	STATE_TX_SEND = 2,
	STATE_TX_DONE = 3,
	STATE_TURN_ON = 4,
	STATE_TURN_OFF = 5,
	STATE_CHANNEL = 6,
	STATE_NOTREADY = 7,
	STATE_STARTING = 8,
	STATE_STOPPING = 9,
	STATE_RECEIVE = 10
};

typedef nx_struct myMsg_t {
	//nx_uint8_t uid;
	//nx_uint16_t counter;
	nx_uint8_t myData;
} myMsg_t;

#endif